package com.customization.unionpay.market.service;


import com.alibaba.fastjson.JSONObject;
import weaver.soa.workflow.request.RequestInfo;

import java.util.List;

public interface MarketAdvancePayWorkflowService {

    /**
     * 营销预付款流程 流程请求信息转换为对应的预算请求
     */
    public List<JSONObject> checkBudget(String action, RequestInfo requestInfo);


    /**
     * 营销预付款核销流程 流程信息转换为对应的预算请求
     * @param action
     * @param requestInfo
     * @return
     */
    public List<JSONObject> executeBudget(String action, RequestInfo requestInfo);


    /**
     * 流程表单生成会计凭证的请求
     * @param requestInfo
     * @return
     */
    public List<JSONObject>  accountingVoucher(RequestInfo requestInfo);
}
